package vashion.azeroth.contant;


public enum MemberErrorEnum {
	
	INCORRECT(1103, "不正确"),
	
	EXIXTID(1104, "用户名已存在"),
	
	EXIXTED_NICK(1105, "昵称已存在"),
	
	NOT_EXISTID(1106, "传入信息非会员信息"),
	
	PROIFLES_NODATA(1107, "无用户信息"),
	
	GET_PROIFLES_FAILED(1108, "获取用户信息失败"),

	ADD_PROIFLES_FAILED(1109, "添加用户信息失败"),
	
	ADD_PROFILE_SUCCESS(1110, "新增用户信息成功"),
	
	UPDATE_PWD_FAILED(1111, "修改密码失败"),
	
	OLDPWD_INCORRECT(1112, "旧密码与数据库不符"),
	
	PWD_INCORRECT(1113, "密码不正确"),
	
	OLDPWD_SAME_NEWPWD(1114, "旧密码新密码相同"),
	
	ACCESS_TOKEN_ERROR(1115, "访问token验证失败"),
	
	ACCESS_TOKEN_TIME_OUT(1116, "访问token已过期"),

	HIGHER_NULL(1117, "用户无上线"),

	LOWER_NULL(1118, "用户无下线"),
	
	FIRST_LEVEL_NULL(1119, "用户无一级人脉"),
	
	SECOND_LEVEL_NULL(1120, "用户无二级人脉"),

	GET_FIRST_CONN_FAIL(1121, "获取一级人脉失败"),
	
	GET_SECOND_CONN_FAIL(1122, "获取二级人脉失败"),
	
	GET_FRIENDS_FAIL(1123, "获取人脉失败"),
	
	OLD_PAY_PWD_ERROR(1124, "原支付密码不正确"),
	
	PAY_PWD_HAVE_SET_ERROR(1125, "已设置支付密码请选择修改支付密码"),
	
	PAY_PWD_NOT_SET_ERROR(1126, "请先设置支付密码"),
	
	PAY_PWD_ERROR(1127, "支付密码不正确"),
	
	NO_LOGIN(1128, "用户未登录")
	
	;
	
	private  int errorCode;
	private  String errorMessage;

	public int getErrorCode() {
		return errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	private MemberErrorEnum(int errorCode, String errorMessage) {
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}
	
	
	
	
}
